package com.sgf.mvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: shengguofan
 * Date: 2017-07-17
 * Time: 13:12
 */
@Controller
public class PageController
{
    @RequestMapping({"/index"})
    public String index()
    {
        return "index";
    }

    @RequestMapping({"/about"})
    public String about()
    {
        return "about";
    }

    @RequestMapping({"/contact"})
    public String contact()
    {
        return "contact";
    }
}
